<html>
	<head>
		<title>SPARQL</title>
	</head>
	<body>
	<p id="login">[% login %]</p>
	<form action="[% submit_url %]" method="get">
		<textarea id="query" name="query" rows="10" cols="50">
PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/>
SELECT DISTINCT *
WHERE {
	[ a foaf:Person ; foaf:name ?name ]
}
ORDER BY ?name
</textarea><br/>
		<select id="mime-type" name="mime-type">
			<option label="HTML" value="text/html">HTML</option>
			<option label="XML" value="text/xml">XML</option>
			<option label="JSON" value="application/json">JSON</option>
		</select>
		<input name="submit" id="submit" type="submit" value="Submit" />
	</form>
	</body>
</html>
